UPDATE formmain_1679 SET "FIELD0001"='${deptcode}', "FIELD0002"='${deptname}', "FIELD0003"='${displayorder}', "FIELD0004"='${parentcode}', "FIELD0005"='${paretnid}', "FIELD0007"='${pk_psndoc}', "FIELD0008"='${ts}', "FIELD0009"='${enablestate}' 
WHERE FIELD0006 = '${pk_dept}'